export default {
    namespaced: true,
    state: () => ({
        mainComponent: 'login',
        menus: [{id: 1, title: '中南服务巴士', component: ''}, {id: 2, title: '新国线', component: ''}],
        menuShow: false,
        footerShow: true,
    }),
    mutations: {
        setMainComponent(state, str) {
            state.mainComponent = str
        },
        setMenus(state, menus) {
            state.menus = menus
        },
        setMenuShow(state, menuShow) {
            state.menuShow = menuShow
        },
        setFooterShow(state, footerShow) {
            state.menuShow = footerShow
        }
    },
    actions: {}
}
